from random import *
count = 0
b = int(input())
for i in range(b):
    x = randint(-100,100)
    y = randint(-100,100)
    if -7 <= x <= 5 and -8 <= y <= 5:
        count += 1       
print("Количество выстрелов: ",b,"\nКоличество попаданий: ",count)